﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserAdd.aspx.cs" Inherits="UserAdd" %>




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
<!--

function btnReset_onclick() {

}

// -->
</script>
</head>
<body background ="../../images/物资右侧背景.jpg"  class="Font">
    <form id="form1" runat="server">
   
    <div style="text-align: left" class="font">
        <table bordercolor="navy" cellpadding="0" cellspacing="0" style="width: 401px; font-size: 12px; text-align: left;" class="Font" align="center">
            
            <tr>
                <td style="width: 107px; text-align: left;">
                    用户名</td>
                <td style="width: 362px; text-align: left;">
                    <asp:TextBox ID="txtUserName" runat="server" Width="141px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtUserName"
                        ErrorMessage="*" ValidationGroup="1"></asp:RequiredFieldValidator>
                    <asp:LinkButton ID="lnkbtnUserName" runat="server" OnClick="lnkbtnUserName_Click" ValidationGroup="1">检查用户名</asp:LinkButton></td>
            </tr>
            <tr style="color: #000000">
                <td style="width: 107px; text-align: left;">
                    
                    密码</td>
                <td style="width: 362px; text-align: left;">
                   <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="141px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr style="color: #000000">
                <td style="width: 107px; text-align: left;">
                    再输入一次</td>
                <td style="width: 362px; text-align: left;"><asp:TextBox ID="txtPasswordAgain" runat="server" TextMode="Password" Width="141px"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPassword"
                        ControlToValidate="txtPasswordAgain" ErrorMessage="密码不一致" Display="Dynamic"></asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPasswordAgain"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
                
            </tr>
            <tr>
            <td style="width: 107px; text-align: left">
                角色</td>
            <td style="width: 362px; text-align: left;">
                <asp:DropDownList ID="ddlRole" runat="server" >
                    <asp:ListItem>管理员</asp:ListItem>
                    <asp:ListItem>普通用户</asp:ListItem>
                </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 107px; text-align: left">
                </td>
                <td style="width: 362px; text-align: left">
                    <asp:Button ID="btnClickOk" runat="server" Text="添加" OnClick="btnClickOk_Click" CssClass=".leap" />
                    <input id="btnReset" type="reset" value="重置" language="javascript" onclick="return btnReset_onclick()" /></td>
            </tr>
        </table>
        <br />
        &nbsp;<br />
        &nbsp;</div>
        &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;
    </form>
</html>
